import java.util.ArrayList;
import java.util.Queue;
import java.util.Scanner;
import java.util.Vector;

//腐烂的苹果
public class test2 {
   /* public static void main(String[] args) {

    }
    public int rotApple (Vector<Vector<Integer>> grid) {
        // write code here
    }**/
}
